home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16365 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.6 KB  |  36 lines

  1. Newsgroups: comp.lang.c++
  2. Path: in1.uu.net!world!mv!usenet
  3. From: ENGR@GSSI.MV.COM (Michael Furman)
  4. Subject: Re: What are the differences between structures and classes in C++ ?
  5. Message-ID: <DpnIqF.JA6@mv.mv.com>
  6. Mime-Version: 1.0
  7. Content-Type: Text/Plain; charset=US-ASCII
  8. Organization: GSSI
  9. Date: Wed, 10 Apr 1996 14:54:14 GMT
  10. References: <4k5m65$av@hpscit.sc.hp.com> <316A7639.3383@sto.fdata.se> <DpM37F.Dzp@mv.mv.com> <DpM528.Guo@presby.edu>
  11. X-Newsreader: WinVN 0.99.7
  12. X-Nntp-Posting-Host: gssi.mv.com
  13.  
  14. In article <DpM528.Guo@presby.edu>, jtbell@presby.edu says...
  15. >  [...]
  16. >Although mine, at least, was incomplete... I didn't think about default
  17. >public versus private inheritance for derived classes. Not that it makes
  18. >much difference in my case because I always use the
  19. >public/private/protected keywords anyway, to make the defaults explicit. 
  20.  
  21. Formally mine was also incomplete (or even incorrect). But it was not a test
  22. or interview question that needs absolutely correct answer that can't be
  23. understood by novice. I supposed (and I believe the chance of mistake is
  24. very small) that person whu asked this question did not know about base
  25. classes and inheritance.
  26.  
  27. -- 
  28. <<< If you received it by E-mail: it is a copy of post to the newsgroup >>>
  29. ---------------------------------------------------------------
  30. Michael Furman,                       (603)893-1109
  31. Geophysical Survey Systems, Inc.  fax:(603)889-3984
  32. 13 Klein Drive - P.O. Box 97          engr@gssi.mv.com 
  33. North Salem, NH 03073-0097            71543.1334@compuserve.com
  34. ---------------------------------------------------------------
  35.  
  36.